
class_name JianKe


static func CreateCardData() -> CardData:
	var data = CardData.new()
	
	data.attack = 30
	data.hp = 240
	data.maxHp = data.hp
	data.defence = 10
	data.speed = 8
	
	data.cardName = "剑客"
	data.cardDesc = "无"
	data.image = load("res://texture/dizi.png")

	
	return data


static func CreateCard() -> Card:
	var cardprefab = load("res://prefab/card.tscn")
	var card = cardprefab.instantiate()
	
	var data = CreateCardData()
	card.setData(data)
	
	return card
	


	
